﻿using MediatR;
using Provenance.ErrorCount;

namespace Provenance.Write.Api.Application.Command.Product
{
    public class InsertProductInfoCommand:IRequest<ApiResult>
    {
        public string ProductName { get; set; } = string.Empty;
        /// <summary>
        /// 商品批次
        /// </summary>
        public string ProductBatch { get; set; } = string.Empty;
        /// <summary>
        /// 保质期
        /// </summary>
        public int ProductPeriod { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string ProductLicense { get; set; } = string.Empty;
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductEnterprise { get; set; } = string.Empty;
        public string ProductPicture { get; set; } = string.Empty;
    }
}
